ul{
    text-decoration: none;
    margin: 0;
    padding: 0;
    list-style: none;
}
a:hover{
        text-decoration: none;
}
body{
    background-color: #f5f5f5;
}
.container{
    background-color: #fff;
}
/* 修改.container的宽度 设计稿上一样的 */
@media screen and (min-width:1280px){
    .container{
        width: 1280px;
    }
}
//当进入小屏幕以及超小屏幕时 nav 里的li 变成一行浮动 并且各占20%
@media screen and (max-width:991px) {
    .nav{
        margin-bottom: 10px;
    }
    .nav li{
        float: left;
        width: 20%;
    }
    
}
//当进入超小屏幕时 nav 里的li  a字体变14px
@media screen and (max-width:767px) {
   .nav li a{
       margin: 10px !important;
       font-size: 12px;
   }
   .news   li:nth-child(1) {
    width: 100% !important;
   }
   .news   li{
       width: 50% !important;
   }
   .publish h3{
       font-size: 18px;
   }
}   
// header
header{
    padding-left: 0 !important;
    .log{
        background-color: #3795DA;
        img{
            // width: 100%;
            // height: 100%;
            display: block;
            max-width: 100%;
            margin: 0 auto;

        }
        span{
            display: block;
            height: 50px;
            line-height: 50px;
            text-align: center;
            width: 100%;
            font-size: 18px ;
            color: #fff
        }
    }
    
    .nav{
        background-color: #ECEEEB;
        border-bottom: 1px solid #ccc;
        display: block;
        ul{
            li{
                &:hover{
                    background-color: #fff;
                }
               a{
                    height:50px;
                    line-height: 50px;
                    margin-left: 50px;
                    color: #333;
                    &::before{
                        line-height: 50px;
                        vertical-align:middle;
                        margin-right: 5px;
                    }
                }
            }

        }
    }
}
//heade结束
//news开始
.news{
    ul{
        li{
            float: left;
            width: 25%;
            height: 128px;
            padding-right: 10px;
            margin-bottom: 10px;
            &:nth-child(1){
                width: 50%;
                height: 266px;
                p{
                   font-size: 20px;
                }
            }
            a{
                position: relative;
                display:block;
                width: 100%;
                height: 100%;
                
                img{
                    width: 100%;
                    height: 100%;
                }
                p{
                    position:absolute;
                    height: 41px;
                    line-height: 41px;
                    padding-left: 10px;
                    left: 0px;
                    bottom: 0px;
                    font-size: 12px;
                    width: 100%;
                    margin-bottom: 0;
                    background-color:rgba(0, 0, 0, 0.5);
                    color: white;
                }
            }
        }
    }
}
//news结束
// publish开始
.publish{
    border-top: 1px solid #ccc;
    img{
        margin-top: 20px;
        display: block;
        width: 100%;
        height: 100%;
    }
    .row{
        padding: 10px 0;
        border-bottom: 1px solid #ccc;
    }
}
// publish结束
//banner开始
.banner{
    a{
        display: block;
    }
    
    img{
        width: 100%;
        height: 100%;
    }
    .banner-p{
        border:1px solid #333;
        margin-top: 20px;
        padding:  0px  10px 30px;
        span{
            font-size: 16px;
            margin-bottom: 20px;
            display: inline-table;
            padding: 10px 20px;
        }
    }
}
//banner结束